<?php
	
	$wavefrontDirectory = opendir("../datas/wavefronts/")
		or die("Error while opening directory\n");

	$output = "";

	while($entry = @readdir($wavefrontDirectory))
	{
		if($entry != "." && $entry != "..")
		{
			$output .= substr($entry, 0, strlen($entry)-4)." ";
		}
	}

	$output = substr($output, 0, strlen($output)-1);
	
	echo $output;
?>
